let mongoose = require('mongoose')

mongoose.connect('mongodb://wang:w123456@lukunpeng.cn:27017/test', {useNewUrlParser: true})

mongoose.connection.on('connected', (res) => {
    console.log('connected')
})

module.exports = mongoose;